import common from "../common";
import constants from "../constants";

const sysRegUserApi = {
    findSysRegUsers: (data, success, error) => {
        return common.requestData(constants.API_FindSysRegUsers, data, success, error);
    },
    saveSysRegUser: (data, success, error) => {
        return common.requestData(constants.API_SaveSysRegUser, data, success, error);
    },
    getSysRegUserBySid: (data, success, error) => {
        return common.requestData(constants.API_GetSysRegUserBySid, data, success, error);
    },
    batchDelSysRegUser: (data, success, error) => {
        return common.requestData(constants.API_BatchDeleteSysRegUser, data, success, error);
    },
};

export default sysRegUserApi;
